﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Application.AppServices.UserManagement;
using Application.AppServices.CommentManagement;
using Framework.Infrastructure.IoC;
using Microsoft.Practices.Unity;

namespace IHaveBaby
{
    public partial class WebUserControl1 : System.Web.UI.UserControl
    {
        IUserManagementService UserService {
            get { return IoCFactory.Instance.CurrentContainer.Resolve<IUserManagementService>(); }
        }
        ICommentManagementService CommentService {
            get { return IoCFactory.Instance.CurrentContainer.Resolve<ICommentManagementService>(); }
        }
        protected void Page_Load(object sender, EventArgs e)
        {

        }
    }
}